package com.wenwu.dao;

import com.wenwu.common.bean.RelicsProtectBasic;
import com.wenwu.common.bean.RelicsProtectBasicExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface RelicsProtectBasicMapper extends Dao{
	int countByExample(RelicsProtectBasicExample example);

	int deleteByExample(RelicsProtectBasicExample example);

	int insert(RelicsProtectBasic record);

	int insertSelective(RelicsProtectBasic record);

	List<RelicsProtectBasic> selectByExampleWithBLOBs(
			RelicsProtectBasicExample example);

	List<RelicsProtectBasic> selectByExample(RelicsProtectBasicExample example);

	int updateByExampleSelective(@Param("record") RelicsProtectBasic record,
			@Param("example") RelicsProtectBasicExample example);

	int updateByExampleWithBLOBs(@Param("record") RelicsProtectBasic record,
			@Param("example") RelicsProtectBasicExample example);

	int updateByExample(@Param("record") RelicsProtectBasic record,
			@Param("example") RelicsProtectBasicExample example);

	int updateBySelective(RelicsProtectBasic record);

	List<RelicsProtectBasic> selectProtectBasicList(List<Integer> list);
}